home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
201-220
/
scopedisk208
/
portlist
/
portlist.doc
< prev
next >
Wrap
Text File
|
1995-03-19
|
2KB
|
58 lines
Portlist, The easy way to find that port!
© 1991 Arnie Cachelin, Hyperactive Intermedia
Portlist is in the public domain, do with it what you will.
Portlist simply displays the names of all currently open message
ports. It may be hard to remember the exact, case-sensitive name of
every program's Arexx message port, so this little utility is quite
handy if you do much Arexx programming. It requires the gadtools
library, and thus runs only under AmigaDOS 2.x. To run Portlist,
double-click on it, or type 'Portlist' from the Shell. Portlist
automagically detaches itself from the CLI so there is no point in
using 'run portlist'. Click on the refresh button to update the
display. Click the close gadget in the upper-left corner to exit
Portlist.
C Programmers: I have included the source code, which is little more
than a LISTVIEW type gadget example. It uses the gadtools.library to
create a couple basic gadgets then scrounges a ready-made list from
the execbase. I confess this was just an exercise, but I kept using
the version which listed the port names (see portlist.c for other
possible execbase lists). Why not let everyone else use it too! I
hope you find it useful, either as a quick intro to gadtools, or an
Arexx assistant. If you happen to write code with an arexx port,
please make it all UPPER CASE, since arexx will make an un-quoted
portname all uppercase then expect to find it that way.
Arexx Programmers: This program can be quite handy for finding those
pesky portnames, but remember not every message port will be happy to
receive Arexx messages, so use some CAUTION WHEN ADDRESSING A STRANGE
PORT.
SPECIAL BONUS!!!
Also included is the All-New ShowLists, a version of PortList
which cycles through all the system lists. To make it refresh the
current list, simply click on the window.
Have Fun!
Please send suggestions, bug reports, updates, jobs, candygrams, etc.
to:
Arnie Cachelin
HyperActive InterMedia
1743 Hayes St.
San Francisco, CA 94117